package main


func main() {
	println(Factorial(10))
}

// 阶乘
func Factorial(n uint64)(result uint64) {
	if (n > 0) {
		return n * Factorial(n - 1)
	}
	return 1
}
